package cn.stylefeng.guns.modular.storage.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * <p>
 * 调拨出库明细表
 * </p>
 *
 * @author zhucx
 * @since 2021-12-02
 */
@TableName("storage_allocation_out_detailed")
@Data
public class StorageAllocationOutDetailed implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 库存id
     */
    @TableField("stock_id")
    private Long stockId;

    /**
     * 调拨出库单号
     */
    @TableField("allocation_order_number")
    private String allocationOrderNumber;

    /**
     * 托盘编号
     */
    @TableField("tray_number")
    private String trayNumber;

    /**
     * 库位id
     */
    @TableField("position_id")
    private Long positionId;

    /**
     * 库位编号
     */
    @TableField("storage_postion_number")
    private String storagePostionNumber;

    /**
     * 商品id
     */
    @TableField("storage_goods_id")
    private Long storageGoodsId;

    /**
     * 商品编号
     */
    @TableField("storage_goodscode")
    private String storageGoodscode;

    /**
     * 商品名称
     */
    @TableField("storage_goodsname")
    private String storageGoodsname;

    /**
     * 调拨数量
     */
    @TableField("storage_number")
    private String storageNumber;

    /**
     * 重量
     */
    @TableField("storage_weight")
    private String storageWeight;

    /**
     * 体积
     */
    @TableField("storage_volume")
    private String storageVolume;

    /**
     * 单价
     */
    @TableField("storage_price")
    private String storagePrice;

    /**
     * 金额
     */
    @TableField("storage_money")
    private String storageMoney;

    /**
     * 批号
     */
    @TableField("storage_batchnumber")
    private String storageBatchnumber;

    /**
     * 生产日期
     */
    @TableField("storage_date")
    private String storageDate;

    /**
     * 商品大类
     */
    @TableField("storage_largeclass")
    private String storageLargeclass;

    /**
     * 商品类别
     */
    @TableField("storage_goodstype")
    private String storageGoodstype;

    /**
     * 商品单位
     */
    @TableField("goods_unit")
    private String goodsUnit;

    /**
     * 规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    @Override
    public String toString() {
        return "StorageAllocationOutDetailed{" +
        "id=" + id +
        ", stockId=" + stockId +
        ", allocationOrderNumber=" + allocationOrderNumber +
        ", trayNumber=" + trayNumber +
        ", positionId=" + positionId +
        ", storagePostionNumber=" + storagePostionNumber +
        ", storageGoodsId=" + storageGoodsId +
        ", storageGoodscode=" + storageGoodscode +
        ", storageGoodsname=" + storageGoodsname +
        ", storageNumber=" + storageNumber +
        ", storageWeight=" + storageWeight +
        ", storageVolume=" + storageVolume +
        ", storagePrice=" + storagePrice +
        ", storageMoney=" + storageMoney +
        ", storageBatchnumber=" + storageBatchnumber +
        ", storageDate=" + storageDate +
        ", storageLargeclass=" + storageLargeclass +
        ", storageGoodstype=" + storageGoodstype +
        ", goodsUnit=" + goodsUnit +
        ", goodsSpecs=" + goodsSpecs +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        "}";
    }
}
